package com.cn.springcloudwechat.service.personalcenter.service;

import com.cn.springcloudwechat.model.weixin.user.Follower;
import com.cn.springcloudwechat.model.weixin.user.WxFollower;
import org.omg.PortableInterceptor.INACTIVE;

public interface WxFollowerService {

    /**
     * 新增微信用户
     * @param record
     * @return
     */
    Integer insert(WxFollower record);

    /**
     * 将Follower转换为WxFollower
     * @param follower
     * @return
     */
    WxFollower castWxFollower(Follower follower);

    /**
     * 根据openid查询
     * @param openId
     * @return
     */
    WxFollower getWxFollower(String openId);

}
